package com.software.chemistry.service;

import com.software.chemistry.entity.SearchHistory;

import java.util.List;

public interface SearchHistoryService {
    List<SearchHistory> findByUserIdOrderByHistoryTimeDesc(String userId);

    void createStudentInfo(SearchHistory searchHistory);

    List<SearchHistory> findByUserId(String userId);

    void deleteByUserId(String userId);
}
